<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:url value="/" var="racine" />
<div title="Selectionnez un mois" class="MonthPicker">
	<table>
		<tbody>
			<tr>
				<th class="caption">Annee</th>
				<td>
					<ul>
						<li class="li"><a href="#"><span class="selected">${picker.anneeCourante}</span> </a>
							<ul>
								<c:forEach items="${picker.annees}" var="annee">
									<c:choose>
										<c:when test="${annee.courante}">
											<li class="li"><a class="selected" title="${annee.numero}" href="#">${annee.numero}</a></li>
										</c:when>
										<c:otherwise>
											<li class="li"><a class="" title="${annee.numero}" href="${racine}client/compte/${compte.id}/${annee.numero}/${annee.mois}${picker.finUrl}.html">${annee.numero}</a>
											</li>
										</c:otherwise>
									</c:choose>
								</c:forEach>
							</ul>
						</li>
					</ul>
				</td>
				<th class="caption">Mois</th>
				<td class="month"><c:forEach var="lemois" items="${picker.mois}" varStatus="status">
						<c:choose>
							<c:when test="${!lemois.enable}">
								<span class="invalid">${lemois.libelle}</span>
							</c:when>
							<c:otherwise>
								<c:choose>
									<c:when test="${lemois.courant}">
										<a title="${lemois.libelle}" href="#"><span class="selected">${lemois.libelle}</span> </a>
									</c:when>
									<c:otherwise>
										<a title="${lemois.libelle}" href="${racine}client/compte/${compte.id}/${picker.anneeCourante}/${lemois.numero}${picker.finUrl}.html"><span class="">${lemois.libelle}</span> </a>
									</c:otherwise>
								</c:choose>
							</c:otherwise>
						</c:choose>
					</c:forEach>
				</td>
			</tr>
		</tbody>
	</table>
</div>
